package com.veer.shop.pojo;
/**
 * 商品库存实体类
 * 
 * @author WangBin
 * 2021年1月1日-下午6:13:42
 */
public class ProductStock {
	private Integer stock_id;
	private Integer product_id;
	private Integer qty = 0;
	private Integer min_qty = 0;
	private Integer use_config_min_qty = 1;
	private Integer is_qty_decimal = 0;
	private Integer min_sale_qty = 1;
	private Integer use_config_min_sale_qty = 1;
	private Integer max_sale_qty = 10;
	private Integer use_config_max_sale_qty = 1;
	private Integer is_in_stock = 0;
	public ProductStock(Integer qty) {
		this.qty = qty;
	}
	public Integer getStockId() {
		return stock_id;
	}
	public void setStockId(Integer stock_id) {
		this.stock_id = stock_id;
	}
	public Integer getProductId() {
		return product_id;
	}
	public void setProductId(Integer product_id) {
		this.product_id = product_id;
	}
	public Integer getQty() {
		return qty;
	}
	public void setQty(Integer qty) {
		this.qty = qty;
	}
	public Integer getMinQty() {
		return min_qty;
	}
	public void setMinQty(Integer min_qty) {
		this.min_qty = min_qty;
	}
	public Integer getUseConfigMinQty() {
		return use_config_min_qty;
	}
	public void setUseConfigMinQty(Integer use_config_min_qty) {
		this.use_config_min_qty = use_config_min_qty;
	}
	public Integer getIsQtyDecimal() {
		return is_qty_decimal;
	}
	public void setIsQtyDecimal(Integer is_qty_decimal) {
		this.is_qty_decimal = is_qty_decimal;
	}
	public Integer getMinSaleQty() {
		return min_sale_qty;
	}
	public void setMinSaleQty(Integer min_sale_qty) {
		this.min_sale_qty = min_sale_qty;
	}
	public Integer getUseConfigMinSaleQty() {
		return use_config_min_sale_qty;
	}
	public void setUseConfigMinSaleQty(Integer use_config_min_sale_qty) {
		this.use_config_min_sale_qty = use_config_min_sale_qty;
	}
	public Integer getMaxSaleQty() {
		return max_sale_qty;
	}
	public void setMaxSaleQty(Integer max_sale_qty) {
		this.max_sale_qty = max_sale_qty;
	}
	public Integer getUseConfigMaxSaleQty() {
		return use_config_max_sale_qty;
	}
	public void setUseConfigMaxSaleQty(Integer use_config_max_sale_qty) {
		this.use_config_max_sale_qty = use_config_max_sale_qty;
	}
	public Integer getIsInStock() {
		return is_in_stock;
	}
	public void setIsInStock(Integer is_in_stock) {
		this.is_in_stock = is_in_stock;
	}
}
